How to add a Combo Box that uses pre-existing values to a form using a Wizard.Choose the 'Forms' tab in the Database window, and select the desired form. Choose the 'Design' button. Choose the 'Combo Box' button in the Toolbox, and click on the form. NOTE 1: The 'Developer Tools' must be installed. NOTE 2: If the Database window is not active, activate the Database window. 1) Choose the 'Forms' tab in the Database window. < 2) Select the desired form from the list box. (The selected form is highlighted.) 3) Choose the 'Design' button. (The selected form appears in the Design view, and the Toolbox appears.) 4) Make sure the 'Control Wizard' button appears depressed. < 5) Choose the 'Combo Box' button in the Toolbox. 6) Place the mouse pointer at the desired location in the form. (The cursor changes to the Combo Box icon.) 7) Click on the form. (The Combo Box Wizard dialog box appears.) 8) Select the 'I want the combo box to look up the values in a table or query' button. 9) Choose 'Next'. 10) Select the desired table or query to provide the values. NOTE: To display tables only in the list box, select the 'Tables' button in the 'View' group. To display queries only in the list box, select the 'Queries' button. To display both tables and queries in the list box, select the 'Both' button. 11) Choose the 'Next' button. 12) Select the fields that contain the values to be included in the combo box: a) Select the desired field from the 'Available Fields' list box. b) Choose the ' > ' button. (The selected field appears in the Selected Fields list box.) c) Repeat steps 12)a) and 12)b) for each field to include in the combo box. 13) Choose the 'Next' button. 14) Adjust the column widths as desired. 15) Choose the 'Next' button. 16) (Special Case) If more than one field was selected in step 12), do the following: a) From the 'Available Fields' list box, select a field to identify a row when it is selected in the combo box. b) Choose the 'Next' button. 17) Do one of the following: a) To use the selected value from the combo box later, select the 'Remember the value for later use' button. b) To store the selected value from the combo box in the database: 1] Select the 'Store that value in this field' button. 2] Enter the field in which to store the selected value. 18) Choose the 'Next' button. 19) Enter a label name for the combo box in the 'What label would you like for your combo box?' box. 20) Choose the 'Finish' button. Knowledge-Pak Desktop Suite (TM) Edition 5 Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved. Subject to the terms set forth in the end-user license agreement. All rights reserved. |